package com.coderman.basketball.statistics.dto.enums;

import lombok.Getter;

/**
 * Description:
 * date: 2021/4/22
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 * 事件类型枚举
 */
@Getter
public enum  EventTypeEnum {
    THREE_POINT("three_point","三分投篮"),
    TWO_POINT_LONG("two_point_long","长两分投篮"),
    TWO_POINT_MID("two_point_mid","中投两分投篮"),
    TWO_POINT_SHORT("two_point_short","近筐投两分投篮"),
    FOUL("foul","犯规"),
    PENALTY("penalty","罚球"),
    CAP("cap","盖帽"),
    HELP("help","助攻"),
    PLAYER_UP("player_up","球员上场"),
    PLAYER_DOWN("player_down","球员下场"),
    FAULT("fault","失误"),
    REBOUNDS_FRONT("rebounds_front","前场篮板"),
    REBOUNDS_BACK("rebounds_back","后场篮板"),
    GAME_OVER("game_over","比赛结束"),

    ;
    /**
     * 事件编码
     */
    private String code;
    /**
     * 事件描述
     */
    private String desc;
    EventTypeEnum(String code,String desc){
        this.code = code;
        this.desc = desc;
    }





}
